package com.heima.apis.admin;


import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "敏感词管理", tags = "AdSentive", description = "敏感词管理API")
public interface AdSensitiveControllerApi {

    //根据名称分页查询敏感词
    @ApiOperation("敏感词分页查询")
    ResponseResult list(SensitiveDto dto);

    //新增敏感词
    @ApiOperation("敏感词新增")
    ResponseResult save(AdSensitive adSensitive);

    //修改
    @ApiOperation("敏感词修改")
    ResponseResult update(AdSensitive adSensitive);

    //删除
    @ApiOperation("敏感词删除")
    ResponseResult deleteById(Integer id);
}